package com.htu.mapper;

import com.htu.po.DeliveryAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeliveryAddressMapper {
    public List<DeliveryAddress> listDeliveryAddressByUserId(String userId);
    public int removeDeliveryAddress(Integer daId);
    public DeliveryAddress getDeliveryAddressById(Integer daId);
    public int updateDeliveryAddress (DeliveryAddress deliveryAddress);
    public int saveDeliveryAddress(DeliveryAddress deliveryAddress);
}
